package cn.com.cifi.mars.mapper.mars;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.com.cifi.mars.bean.dto.OrgDTO;
import cn.com.cifi.mars.bean.dto.SysProjectFetchNumberDto;
import cn.com.cifi.mars.entity.common.SysProjectFetchNumber;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yyd
 * @since 2019-09-21
 */
public interface SysProjectFetchNumberMapper extends BaseMapper<SysProjectFetchNumber> {

	List<Map<String,Object>> selectProjectStagesList();
	
	List<SysProjectFetchNumberDto>selectSysProjectFetchNumberPage(Page page,
			@Param("countingSystemId")String countingSystemId,
			@Param("regionId")String regionId,@Param("projectId")String projectId,
			@Param("beginTime")String beginTime,@Param("endTime")String endTime,@Param("cityId")String cityId,
			@Param("stagesId")String stagesId);

    List<SysProjectFetchNumber> selectByProjectId(@Param("projectId") String projectId);

	SysProjectFetchNumber selectFetchNumberByFid(@Param("fid") String projectFid);

	List<OrgDTO> selectProjectOrgList(@Param("projectId")String projectId,@Param("stageId") String stageId);

	List<SysProjectFetchNumber> selectAll();
}
